﻿<UserControl x:Class="InseSoft.Views.Controls.CostosEdit"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:InseSoft.Models.Entities" 
             mc:Ignorable="d" 
             d:DesignHeight="130" d:DesignWidth="420">
    <UserControl.Resources>
        <Style TargetType="Label">
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>

    </UserControl.Resources>
    <Grid d:DataContext="{d:DesignInstance {x:Type local:Empresa}}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="10" />
            <ColumnDefinition Width="90" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="27" />
            <RowDefinition Height="27" />
            <RowDefinition Height="27" />
            <RowDefinition Height="27" />
        </Grid.RowDefinitions>
        <Label Content="Solventes" Grid.Row="0" />
        <Label Content="Tintas" Grid.Row="1" />
        <Label Content="Impresión x hora" Grid.Row="2" />
        <Label Content="Velocidad" Grid.Row="3" />

        <Label Content="Moldes" Grid.Row="0" Grid.Column="3"/>
        <Label Content="Positivos" Grid.Row="1" Grid.Column="3" />
        <Label Content="Arte" Grid.Row="2" Grid.Column="3" />
        <Label Content="Corte" Grid.Row="3" Grid.Column="3" />

        <TextBox Grid.Row="0" Grid.Column="1" Width="100" MaxLength="20" Text="{Binding Path=PrecioSolvente, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
        <TextBox Grid.Row="1" Grid.Column="1" Width="100" MaxLength="20" Text="{Binding Path=PrecioTinta, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
        <TextBox Grid.Row="2" Grid.Column="1" Width="100" MaxLength="20" Text="{Binding Path=PrecioHoraImpresion, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
        <TextBox Grid.Row="3" Grid.Column="1" Width="100" MaxLength="20" Text="{Binding Path=PrecioVelocidad, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>

        <TextBox Grid.Row="0" Grid.Column="4" Width="100" MaxLength="20" Text="{Binding Path=PrecioMolde, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
        <TextBox Grid.Row="1" Grid.Column="4" Width="100" MaxLength="20" Text="{Binding Path=PrecioPositivo, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
        <TextBox Grid.Row="2" Grid.Column="4" Width="100" MaxLength="20" Text="{Binding Path=PrecioArte, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
        <TextBox Grid.Row="3" Grid.Column="4" Width="100" MaxLength="20" Text="{Binding Path=PrecioCorte, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
    </Grid>
</UserControl>
